package com.ecity.resource {
	import flash.display.Bitmap;
	import flash.text.TextFormat;
	/**
	 * ...
	 * @author Yicheng.Zhang
	 */
	public class Resource{
		[Embed(source = "/assets/navi01.png")] private var MCompany:Class;
		[Embed(source ="/assets/navi02.jpg")] private var MMovie:Class;
		[Embed(source="/assets/navi03.jpg")] private var MArks:Class;
		[Embed(source = "/assets/navi04.jpg")] private var MTasks:Class;
		
		[Embed(source = "/assets/sub03.png")] private var SubMenu03:Class;
		[Embed(source = "/assets/subBoder.png")] private var SubBorder:Class;
		
		[Embed(source = "/assets/sub_ysjd0.png")] private var YsjdOver:Class;
		[Embed(source = "/assets/sub_ysjd1.png")] private var YsjdNormal:Class;
		
	
		[Embed(source = 'font/yuehei.otf', fontName = "yuehei", unicodeRange = "U+35,U+8bef,U+773c,",mimeType="application/x-font" ,embedAsCFF="false")]public static const YueHei_Font:Class;
		
		

		public static var categroys:HashMap;
		public static var bitmapUIs:HashMap;
		public static var YUEHEI_FONT:TextFormat;
		
		public function Resource() {
			initCategroy();
			initSubTitle();
			YUEHEI_FONT = new YueHei_Font();
		}
		
		private function initSubTitle():void {
			bitmapUIs = new HashMap();
			bitmapUIs.put("st_ysjd0", new YsjdOver() as Bitmap);
			bitmapUIs.put("st_ysjd1", new YsjdNormal() as Bitmap);
		}
		
		private function initCategroy():void {
			categroys = new HashMap();
			categroys.put("bt_0", new MCompany() as Bitmap);
			categroys.put("bt_1", new MMovie() as Bitmap);
			categroys.put("bt_2", new MArks() as Bitmap);
			categroys.put("bt_3", new MTasks() as Bitmap);
		}
		
	}

}